package com.wy.system.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wy.model.entity.Sclass;
import com.wy.model.entity.Student;
import com.wy.model.vo.SclassQueryVo;
import com.wy.model.vo.StudentQueryVo;
import com.wy.system.mapper.SclassMapper;
import com.wy.system.service.SclassService;
import org.springframework.stereotype.Service;

@Service
public class SclassServiceImpl extends ServiceImpl<SclassMapper,Sclass> implements SclassService {
  @Override
  public IPage<Sclass> selectPage(Page<Sclass> pageParam, SclassQueryVo sclassQueryVo) {
    IPage<Sclass> pageModel = baseMapper.selectPage(pageParam, sclassQueryVo);
    return pageModel;
  }
}
